<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <title><%= controller.action_name %></title>
	<%= stylesheet_link_tag 'application' %>
	<%= javascript_include_tag :defaults %> 
	<%= javascript_include_tag "AC_QuickTime" %>
</head>
<body>
	<div id="topBanner">
		<div id="applicationName">Di-Tag</div>
		<% if logged_in? %>
			<div id="topWelcome">Welcome  <%= self.current_user.login %> </div>
			<div id="topMenu">
				<%= link_to 'Home', {:controller=>'samples', :action=>'index'} %>
				<%= link_to 'FAQ', {:controller=>'samples', :action=>'faq'} %>
				<%= link_to 'Feedback', {:controller=>'samples', :action=>'feedback'} %>
				<%= link_to 'Logout', {:controller=>'account', :action=>'logout'} %>
			</div>
		<% end %>
	</div>
	<div id="content">
		
		<% if flash[:notice] %>
			<div id="notice"><%= flash[:notice] %></div>
		<% end %>

		<%= yield  %>	
				
	</div>
</body>
</html>